<?php
/**
 CREATE TABLE `files` (
 `id` INT( 10 ) NOT NULL AUTO_INCREMENT PRIMARY KEY ,
`file` VARCHAR( 45 ) NULL
) ENGINE = MYISAM ;
* */

class File extends AppModel {

var $actsAs= array(
		'Image'=>array(
			'fields'=>array(
				'file'=>array(
					'thumbnail'=>array('create'=>true),
					'resize'=>array(
									 'width'=>'800',
									 'height'=>'800',
						),
					'versions'=>array(
						array('prefix'=>'s',
									 'width'=>'400',
									 'height'=>'300',
						),
						array('prefix'=>'l',
									 'width'=>'700',
									 'height'=>'500',
						)
					)
				)
			)
		)
	);

}

?>
